package cn.com.freecoder.demo.controller;

import java.util.Map;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class HelloWordController {
	@RequestMapping("/helloWorld")
	public String helloWorld(Map<String, Object> model) {
		model.put("msg", "Hello World !");
		return "helloWorld";
	}
}
